package com.example.blog.mapper;

import org.springframework.util.DigestUtils;

import java.util.UUID;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hua YY
 * Date: 2025-01-13
 * Time: 13:05
 */
public class MD5Utils {
    public static void main(String[] args) {
        System.out.println(DigestUtils.md5DigestAsHex("123456".getBytes()));
        System.out.println(UUID.randomUUID());
        System.out.println(UUID.randomUUID());

        System.out.println(UUID.randomUUID().toString().replace("-", ""));
        System.out.println(UUID.randomUUID().toString().replace("-", ""));

    }
}
